package server;


/**
 * The Class RunServer.
 * contains the main method that initiates the server.
 * @author Tomer Elkayam
 * 
 */
public class RunServer 
{
	/** The view. */
	private static ServerGUI theView;
	
	/** The model. */
	private static DBcomunicator theModel;
	
	/** The controller. */
	private static ServerController theController;
	
	  /**
  	 * The main method.
  	 *
  	 * @param args the arguments
  	 */
  	public static void main(String[] args) 
	  {
		// Server MVC
		theView = new ServerGUI();
		
		theModel = new DBcomunicator();
		 
		theController = new ServerController(theView,theModel);
		
		theView.setVisible(true);
		
	  }

}
